package com.yoso.domain;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.Date;

/**
 * @author shizejin
 * @date 2021/10/26
 * @description:
 */
@XmlRootElement(name = "User")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
public class UserXml implements Serializable {
//    @XmlElement(name = "id")
    private String id;
    private String name;
    private int age;
    private String addr;
    private Date birthday;
}
